import request from '@/utils/request';

import news from "./news";
import chargeOrder from "./chargeOrder";
import roleGroup from "./roleGroup";
import manager from "./manager";
import dict from "./dict";
import globalRule from "./globalRule";

export default {
  news,
  chargeOrder,
  roleGroup,
  manager,
  globalRule,
  dict,
  constant: {
    all(data) {
      return request({
        url: '/api/constant/all',
        method: 'POST',
        data
      })
    }
  }
}
